package com.ruoyi.inventory.mapper;

import java.util.List;
import com.ruoyi.inventory.domain.TWarehouseTransactionItem;

/**
 * 出入库明细Mapper接口
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public interface TWarehouseTransactionItemMapper 
{
    /**
     * 查询出入库明细
     * 
     * @param id 出入库明细主键
     * @return 出入库明细
     */
    public TWarehouseTransactionItem selectTWarehouseTransactionItemById(Long id);

    /**
     * 查询出入库明细列表
     * 
     * @param tWarehouseTransactionItem 出入库明细
     * @return 出入库明细集合
     */
    public List<TWarehouseTransactionItem> selectTWarehouseTransactionItemList(TWarehouseTransactionItem tWarehouseTransactionItem);

    /**
     * 新增出入库明细
     * 
     * @param tWarehouseTransactionItem 出入库明细
     * @return 结果
     */
    public int insertTWarehouseTransactionItem(TWarehouseTransactionItem tWarehouseTransactionItem);

    /**
     * 修改出入库明细
     * 
     * @param tWarehouseTransactionItem 出入库明细
     * @return 结果
     */
    public int updateTWarehouseTransactionItem(TWarehouseTransactionItem tWarehouseTransactionItem);

    /**
     * 删除出入库明细
     * 
     * @param id 出入库明细主键
     * @return 结果
     */
    public int deleteTWarehouseTransactionItemById(Long id);

    /**
     * 批量删除出入库明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTWarehouseTransactionItemByIds(Long[] ids);
}
